from django.conf.urls.defaults import *
from to2.models import *

urlpatterns = patterns('',
    # Example:
    # (r'^py/', include('py.foo.urls')),

    # Uncomment this for admin:
	(r'^$','django.views.generic.simple.direct_to_template',{'template':'index.html'}),
	(r'^admin/', include('django.contrib.admin.urls')),
	(r'^locomotive/', include('to2.urls.locomotive.urls')),
	(r'^change/',include('to2.urls.change')),
	(r'^locjournal/', include('to2.urls.locjournal.urls')),
	# media catalog
	(r'^css/(?P<path>.*)$','django.views.static.serve',{'document_root' : '/home/leo/development/loco/py/to2/media/css'})
)
